package com.zhiche.lisa.lspm.service.lsp.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zhiche.lisa.lspm.dao.mapper.lsp.LspLicenseMapper;
import com.zhiche.lisa.lspm.dao.model.driver.DriverLicense;
import com.zhiche.lisa.lspm.dao.model.lsp.LspLicense;
import com.zhiche.lisa.lspm.service.lsp.LspLicenseService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 证照 service impl
 *
 * @author lbl
 * @since 2018-05-24
 */
@Service
public class LspLicenseServiceImpl extends ServiceImpl<LspLicenseMapper, LspLicense> implements LspLicenseService {


    /**
     * 批量插入证照
     */
    @Override
    public void batchInsertNew(List<LspLicense> list) {
        baseMapper.batchInsertNew(list);
    }

    @Override
    public List<LspLicense> selectListNoTenant(EntityWrapper<LspLicense> llEW) {
        return baseMapper.selectListNoTenant(llEW);
    }
}
